package com.jqb.jsplab.dao.proxy;

import javax.servlet.Servlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.jqb.jsplab.dao.ITestDao;
import com.jqb.jsplab.dao.impl.TestDaoImpl;

public class TestDaoProxy implements ITestDao {

	private TestDaoImpl testdaoimpl = null;

	public TestDaoProxy() {
		this.testdaoimpl = new TestDaoImpl();
	}

	@Override
	public boolean fileUpload(HttpServletRequest request, HttpServletResponse response) {
		return testdaoimpl.fileUpload(request, response);
	}

	@Override
	public boolean smartFileUpload(Servlet servlet, HttpServletRequest request, HttpServletResponse response) {
		return testdaoimpl.smartFileUpload(servlet, request, response);
	}

	@Override
	public boolean smartFileDownload(Servlet servlet,HttpServletRequest request, HttpServletResponse response,String filename) {
		return testdaoimpl.smartFileDownload(servlet, request, response,filename);
	}

	@Override
	public boolean multiFileUpload(HttpServletRequest request, HttpServletResponse response) {
		return testdaoimpl.multiFileUpload(request, response);
	}

	@Override
	public void showMessage(HttpServletRequest request, HttpServletResponse response) {
		testdaoimpl.showMessage(request, response);
	}

	@Override
	public void showTagList(HttpServletRequest request,	HttpServletResponse response) {
		testdaoimpl.showTagList(request, response);
	}

	@Override
	public void sortString(HttpServletRequest request, HttpServletResponse response) {
		testdaoimpl.sortString(request, response);
	}

}
